package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 看房请求对象 house_viewing
 * 
 * @author ruoyi
 * @date 2024-05-11
 */
public class HouseViewing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 租客姓名 */
    @Excel(name = "租客姓名")
    private String tenantName;

    /** 咨询电话 */
    @Excel(name = "咨询电话")
    private String consultantPhone;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String community;

    /** 请求时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "请求时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestTime;

    /** 看房时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "看房时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date viewingTime;

    /** 请求状态 */
    @Excel(name = "请求状态")
    private String requestStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantName(String tenantName) 
    {
        this.tenantName = tenantName;
    }

    public String getTenantName() 
    {
        return tenantName;
    }
    public void setConsultantPhone(String consultantPhone) 
    {
        this.consultantPhone = consultantPhone;
    }

    public String getConsultantPhone() 
    {
        return consultantPhone;
    }
    public void setCommunity(String community) 
    {
        this.community = community;
    }

    public String getCommunity() 
    {
        return community;
    }
    public void setRequestTime(Date requestTime) 
    {
        this.requestTime = requestTime;
    }

    public Date getRequestTime() 
    {
        return requestTime;
    }
    public void setViewingTime(Date viewingTime) 
    {
        this.viewingTime = viewingTime;
    }

    public Date getViewingTime() 
    {
        return viewingTime;
    }
    public void setRequestStatus(String requestStatus) 
    {
        this.requestStatus = requestStatus;
    }

    public String getRequestStatus() 
    {
        return requestStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantName", getTenantName())
            .append("consultantPhone", getConsultantPhone())
            .append("community", getCommunity())
            .append("requestTime", getRequestTime())
            .append("viewingTime", getViewingTime())
            .append("requestStatus", getRequestStatus())
            .toString();
    }
}
